<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Hello World!</title>
    <link rel="stylesheet" href="./css/styles.css" />
  </head>
  <body>
    <div>
      <h2>网络</h2>
      <button onclick="accessBaidu()">访问百度</button>
    </div>
    <!-- <div>
      <h2>弹出菜单</h2>
      <input type="text" />
      <button onclick="openMenu()">弹出菜单</button>
    </div> -->
    <!-- <div>
      <h2>进程之间通信</h2>
      <button onclick="sendMessageToMain()">异步发送信息给主进程</button>
      <button onclick="sendMessageToMainAync()">同步发送信息给主进程</button>
    </div> -->
    <!-- <div>
      <h2>打开文件选择框</h2>
      <button onclick="openDialog()">打开</button>
      <button onclick="saveDialog()">保存文件</button>
      <button onclick="messageDialog()">弹出消息提示</button>
    </div> -->
    <!-- <div>
      <h2>弹出子窗口</h2>
      <button onclick="openNewWindow()">弹出</button>
      <button onclick="closeWindow()">关闭</button>
    </div> -->
    <!-- <div>
      <h2>Webview(preload 在网页里插入JS)</h2>
      <span id="loading"></span>
      <webview id="wb" src="http://baidu.com/" preload="./webview_test/preload.js"></webview>
    </div> -->
    <!-- <div class="for_file_drag" id="drag_test">
      <h2>File对象</h2>
      <span>往这里拖文件</span>
    </div>
    <div>
      <h2>process</h2>
      <button onclick="getProcessInfo()">查看process信息</button>
    </div> -->

    <!-- You can also require other files to run in this process -->
    <script src="./renderer.js"></script>
  </body>
</html>
